vkCreateInstance access violation at VKLayer_device_simulation.dll












0















i'm new to vulkan.

when i call vkCreateInstance() , it crash , but i can't figure out what's the problem.
vkenumerateExtensionProperties return 0 extensoin count,and only VKLayer_LUNARG_api_dump found , it is weird .

core code are following , irrelevant code are removed.




Instance_Vulkan




#pragma once

#ifndef INSTANCE_VULKAN_HPP
#define INSTANCE_VULKAN_HPP

#include <vulkan/vulkan.h>
#include <vector>
#include <string>
#include <exception>
#include <iostream>

using namespace std;
namespace LB
{
class Instance_Vulkan
{
public:
bool isCreated = false;
VkInstance instance;
VkInstanceCreateInfo createInfo;
std::vector<const char*> extensions;
std::vector<const char*> layers;
Instance_Vulkan()
{
createInfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
createInfo.flags = 0;
createInfo.pNext = NULL;
createInfo.pApplicationInfo = NULL;
createInfo.enabledLayerCount = 0;
createInfo.ppEnabledLayerNames = NULL;
createInfo.enabledExtensionCount = 0;
createInfo.ppEnabledExtensionNames = NULL;
}


VkResult creat(const VkAllocationCallbacks* pAllocator=NULL)
{
if (isCreated)
return VK_SUCCESS;
else
{
VkResult result;
createInfo.enabledExtensionCount = static_cast<uint32_t>(extensions.size());
if(createInfo.enabledExtensionCount)
createInfo.ppEnabledExtensionNames = extensions.data();
createInfo.enabledLayerCount = static_cast<uint32_t>(layers.size());
if(createInfo.enabledLayerCount)
createInfo.ppEnabledLayerNames = layers.data();
if((result = vkCreateInstance(&createInfo, nullptr, &instance))!=VK_SUCCESS)
cout << "Error: fail to create Vulkan Instance ! " << endl;

if (result == VK_SUCCESS)
isCreated = true;
return result;
}
}

void destroy()
{
if (isCreated)
vkDestroyInstance(instance,nullptr);
isCreated = false;
}

};


}
#endif // !INSTANCE_VULKAN_HPP



following code invoke above class




#pragma once

#ifndef APPLICATION_HPP
#define APPLICATION_HPP
#include<vulkan/vulkan.h>
#include <iostream>
#include <stdexcept>
#include <cstdlib>
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>


#include "Item.hpp"
#include"Window.hpp"
#include "Instance_Vulkan.hpp"

using namespace std;

namespace LB
{
class Application
{
public:
bool shouldClose = false;
virtual void mainLoop()
{
}
void init()
{
glfwInit();
glfwWindowHint(GLFW_CLIENT_API,GLFW_NO_API);
glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
initVulkan();
}
void initVulkan()
{
// set the application info
VkApplicationInfo appInfo = {};
appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
appInfo.pApplicationName = "Hellp Triangle";
appInfo.applicationVersion = VK_MAKE_VERSION(1, 0, 0);
appInfo.pEngineName= "No Engine";
appInfo.engineVersion = VK_MAKE_VERSION(1, 0, 0);
appInfo.apiVersion = VK_API_VERSION_1_0;
appInfo.pNext = NULL;
// set papplicatoinInfo
instance.createInfo.pApplicationInfo = &appInfo;

if (instance.creat()!= VK_SUCCESS)
throw std::runtime_error("Error: fail to create vulkan instance ");



}
void cleanUp()
{
glfwTerminate();
instance.destroy();
}
int run(int argc=0,char* argv=0)
{
init();
try {
for (;!shouldClose;)
mainLoop();
}
catch (const std::exception e)
{
std::cerr << e.what() << std::endl;
return EXIT_FAILURE;
}
cleanUp();
return EXIT_SUCCESS;
}
private:
Instance_Vulkan instance;
};
}
#endif



there are main function




#include "pch.h"
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#include "Application.hpp"
#include <iostream>
#include <cstdlib>

using namespace LB;
using namespace std;

int main()
{
Application app;
return app.run();

}



when i run the code,it crash
'result image'

My Environment:





  • Win10 debug 64bit

  • vs2017

  • Gtx 940m driver: 416.94

  • i install lunarg sdk 1.1.85.0 , run the cube.exe and also compile the demo successfully










share|improve this question























  • check your ProjectProps->Debugging->Environment. Actually, just print your environment variables in your main to check there is nothing suspicious (especially variables starting with VK_*).

    – krOoze
    Nov 25 '18 at 15:46













  • Sorry to response you so lately.

    – MiAo
    Nov 26 '18 at 8:16











  • i'm not familiar to VS . i don't know how to do . i find the environment variables . (i regarded it as the path of dll , am i right ? ) What i fill into it is that PATH=%PATH%;D:VULKAN1.1.85.0Bin so i think it not possible to print string like VK_*....etc

    – MiAo
    Nov 26 '18 at 8:24











  • OK! i find the point !

    – MiAo
    Nov 26 '18 at 9:58











  • i find vk_layer* lib together with vulkan-1.lib , i think i should link it too . But when i compare my project and the template of Demo , I find the template only link the vulkan-1.lib . Then i revive your answer . i get it . It 's my stupid . Thank you so much . :)

    – MiAo
    Nov 26 '18 at 10:05
















0















i'm new to vulkan.

when i call vkCreateInstance() , it crash , but i can't figure out what's the problem.
vkenumerateExtensionProperties return 0 extensoin count,and only VKLayer_LUNARG_api_dump found , it is weird .

core code are following , irrelevant code are removed.




Instance_Vulkan




#pragma once

#ifndef INSTANCE_VULKAN_HPP
#define INSTANCE_VULKAN_HPP

#include <vulkan/vulkan.h>
#include <vector>
#include <string>
#include <exception>
#include <iostream>

using namespace std;
namespace LB
{
class Instance_Vulkan
{
public:
bool isCreated = false;
VkInstance instance;
VkInstanceCreateInfo createInfo;
std::vector<const char*> extensions;
std::vector<const char*> layers;
Instance_Vulkan()
{
createInfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
createInfo.flags = 0;
createInfo.pNext = NULL;
createInfo.pApplicationInfo = NULL;
createInfo.enabledLayerCount = 0;
createInfo.ppEnabledLayerNames = NULL;
createInfo.enabledExtensionCount = 0;
createInfo.ppEnabledExtensionNames = NULL;
}


VkResult creat(const VkAllocationCallbacks* pAllocator=NULL)
{
if (isCreated)
return VK_SUCCESS;
else
{
VkResult result;
createInfo.enabledExtensionCount = static_cast<uint32_t>(extensions.size());
if(createInfo.enabledExtensionCount)
createInfo.ppEnabledExtensionNames = extensions.data();
createInfo.enabledLayerCount = static_cast<uint32_t>(layers.size());
if(createInfo.enabledLayerCount)
createInfo.ppEnabledLayerNames = layers.data();
if((result = vkCreateInstance(&createInfo, nullptr, &instance))!=VK_SUCCESS)
cout << "Error: fail to create Vulkan Instance ! " << endl;

if (result == VK_SUCCESS)
isCreated = true;
return result;
}
}

void destroy()
{
if (isCreated)
vkDestroyInstance(instance,nullptr);
isCreated = false;
}

};


}
#endif // !INSTANCE_VULKAN_HPP



following code invoke above class




#pragma once

#ifndef APPLICATION_HPP
#define APPLICATION_HPP
#include<vulkan/vulkan.h>
#include <iostream>
#include <stdexcept>
#include <cstdlib>
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>


#include "Item.hpp"
#include"Window.hpp"
#include "Instance_Vulkan.hpp"

using namespace std;

namespace LB
{
class Application
{
public:
bool shouldClose = false;
virtual void mainLoop()
{
}
void init()
{
glfwInit();
glfwWindowHint(GLFW_CLIENT_API,GLFW_NO_API);
glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
initVulkan();
}
void initVulkan()
{
// set the application info
VkApplicationInfo appInfo = {};
appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
appInfo.pApplicationName = "Hellp Triangle";
appInfo.applicationVersion = VK_MAKE_VERSION(1, 0, 0);
appInfo.pEngineName= "No Engine";
appInfo.engineVersion = VK_MAKE_VERSION(1, 0, 0);
appInfo.apiVersion = VK_API_VERSION_1_0;
appInfo.pNext = NULL;
// set papplicatoinInfo
instance.createInfo.pApplicationInfo = &appInfo;

if (instance.creat()!= VK_SUCCESS)
throw std::runtime_error("Error: fail to create vulkan instance ");



}
void cleanUp()
{
glfwTerminate();
instance.destroy();
}
int run(int argc=0,char* argv=0)
{
init();
try {
for (;!shouldClose;)
mainLoop();
}
catch (const std::exception e)
{
std::cerr << e.what() << std::endl;
return EXIT_FAILURE;
}
cleanUp();
return EXIT_SUCCESS;
}
private:
Instance_Vulkan instance;
};
}
#endif



there are main function




#include "pch.h"
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#include "Application.hpp"
#include <iostream>
#include <cstdlib>

using namespace LB;
using namespace std;

int main()
{
Application app;
return app.run();

}



when i run the code,it crash
'result image'

My Environment:





  • Win10 debug 64bit

  • vs2017

  • Gtx 940m driver: 416.94

  • i install lunarg sdk 1.1.85.0 , run the cube.exe and also compile the demo successfully










share|improve this question























  • check your ProjectProps->Debugging->Environment. Actually, just print your environment variables in your main to check there is nothing suspicious (especially variables starting with VK_*).

    – krOoze
    Nov 25 '18 at 15:46













  • Sorry to response you so lately.

    – MiAo
    Nov 26 '18 at 8:16











  • i'm not familiar to VS . i don't know how to do . i find the environment variables . (i regarded it as the path of dll , am i right ? ) What i fill into it is that PATH=%PATH%;D:VULKAN1.1.85.0Bin so i think it not possible to print string like VK_*....etc

    – MiAo
    Nov 26 '18 at 8:24











  • OK! i find the point !

    – MiAo
    Nov 26 '18 at 9:58











  • i find vk_layer* lib together with vulkan-1.lib , i think i should link it too . But when i compare my project and the template of Demo , I find the template only link the vulkan-1.lib . Then i revive your answer . i get it . It 's my stupid . Thank you so much . :)

    – MiAo
    Nov 26 '18 at 10:05














0












0








0


0






i'm new to vulkan.

when i call vkCreateInstance() , it crash , but i can't figure out what's the problem.
vkenumerateExtensionProperties return 0 extensoin count,and only VKLayer_LUNARG_api_dump found , it is weird .

core code are following , irrelevant code are removed.




Instance_Vulkan




#pragma once

#ifndef INSTANCE_VULKAN_HPP
#define INSTANCE_VULKAN_HPP

#include <vulkan/vulkan.h>
#include <vector>
#include <string>
#include <exception>
#include <iostream>

using namespace std;
namespace LB
{
class Instance_Vulkan
{
public:
bool isCreated = false;
VkInstance instance;
VkInstanceCreateInfo createInfo;
std::vector<const char*> extensions;
std::vector<const char*> layers;
Instance_Vulkan()
{
createInfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
createInfo.flags = 0;
createInfo.pNext = NULL;
createInfo.pApplicationInfo = NULL;
createInfo.enabledLayerCount = 0;
createInfo.ppEnabledLayerNames = NULL;
createInfo.enabledExtensionCount = 0;
createInfo.ppEnabledExtensionNames = NULL;
}


VkResult creat(const VkAllocationCallbacks* pAllocator=NULL)
{
if (isCreated)
return VK_SUCCESS;
else
{
VkResult result;
createInfo.enabledExtensionCount = static_cast<uint32_t>(extensions.size());
if(createInfo.enabledExtensionCount)
createInfo.ppEnabledExtensionNames = extensions.data();
createInfo.enabledLayerCount = static_cast<uint32_t>(layers.size());
if(createInfo.enabledLayerCount)
createInfo.ppEnabledLayerNames = layers.data();
if((result = vkCreateInstance(&createInfo, nullptr, &instance))!=VK_SUCCESS)
cout << "Error: fail to create Vulkan Instance ! " << endl;

if (result == VK_SUCCESS)
isCreated = true;
return result;
}
}

void destroy()
{
if (isCreated)
vkDestroyInstance(instance,nullptr);
isCreated = false;
}

};


}
#endif // !INSTANCE_VULKAN_HPP



following code invoke above class




#pragma once

#ifndef APPLICATION_HPP
#define APPLICATION_HPP
#include<vulkan/vulkan.h>
#include <iostream>
#include <stdexcept>
#include <cstdlib>
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>


#include "Item.hpp"
#include"Window.hpp"
#include "Instance_Vulkan.hpp"

using namespace std;

namespace LB
{
class Application
{
public:
bool shouldClose = false;
virtual void mainLoop()
{
}
void init()
{
glfwInit();
glfwWindowHint(GLFW_CLIENT_API,GLFW_NO_API);
glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
initVulkan();
}
void initVulkan()
{
// set the application info
VkApplicationInfo appInfo = {};
appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
appInfo.pApplicationName = "Hellp Triangle";
appInfo.applicationVersion = VK_MAKE_VERSION(1, 0, 0);
appInfo.pEngineName= "No Engine";
appInfo.engineVersion = VK_MAKE_VERSION(1, 0, 0);
appInfo.apiVersion = VK_API_VERSION_1_0;
appInfo.pNext = NULL;
// set papplicatoinInfo
instance.createInfo.pApplicationInfo = &appInfo;

if (instance.creat()!= VK_SUCCESS)
throw std::runtime_error("Error: fail to create vulkan instance ");



}
void cleanUp()
{
glfwTerminate();
instance.destroy();
}
int run(int argc=0,char* argv=0)
{
init();
try {
for (;!shouldClose;)
mainLoop();
}
catch (const std::exception e)
{
std::cerr << e.what() << std::endl;
return EXIT_FAILURE;
}
cleanUp();
return EXIT_SUCCESS;
}
private:
Instance_Vulkan instance;
};
}
#endif



there are main function




#include "pch.h"
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#include "Application.hpp"
#include <iostream>
#include <cstdlib>

using namespace LB;
using namespace std;

int main()
{
Application app;
return app.run();

}



when i run the code,it crash
'result image'

My Environment:





  • Win10 debug 64bit

  • vs2017

  • Gtx 940m driver: 416.94

  • i install lunarg sdk 1.1.85.0 , run the cube.exe and also compile the demo successfully










share|improve this question














i'm new to vulkan.

when i call vkCreateInstance() , it crash , but i can't figure out what's the problem.
vkenumerateExtensionProperties return 0 extensoin count,and only VKLayer_LUNARG_api_dump found , it is weird .

core code are following , irrelevant code are removed.




Instance_Vulkan




#pragma once

#ifndef INSTANCE_VULKAN_HPP
#define INSTANCE_VULKAN_HPP

#include <vulkan/vulkan.h>
#include <vector>
#include <string>
#include <exception>
#include <iostream>

using namespace std;
namespace LB
{
class Instance_Vulkan
{
public:
bool isCreated = false;
VkInstance instance;
VkInstanceCreateInfo createInfo;
std::vector<const char*> extensions;
std::vector<const char*> layers;
Instance_Vulkan()
{
createInfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
createInfo.flags = 0;
createInfo.pNext = NULL;
createInfo.pApplicationInfo = NULL;
createInfo.enabledLayerCount = 0;
createInfo.ppEnabledLayerNames = NULL;
createInfo.enabledExtensionCount = 0;
createInfo.ppEnabledExtensionNames = NULL;
}


VkResult creat(const VkAllocationCallbacks* pAllocator=NULL)
{
if (isCreated)
return VK_SUCCESS;
else
{
VkResult result;
createInfo.enabledExtensionCount = static_cast<uint32_t>(extensions.size());
if(createInfo.enabledExtensionCount)
createInfo.ppEnabledExtensionNames = extensions.data();
createInfo.enabledLayerCount = static_cast<uint32_t>(layers.size());
if(createInfo.enabledLayerCount)
createInfo.ppEnabledLayerNames = layers.data();
if((result = vkCreateInstance(&createInfo, nullptr, &instance))!=VK_SUCCESS)
cout << "Error: fail to create Vulkan Instance ! " << endl;

if (result == VK_SUCCESS)
isCreated = true;
return result;
}
}

void destroy()
{
if (isCreated)
vkDestroyInstance(instance,nullptr);
isCreated = false;
}

};


}
#endif // !INSTANCE_VULKAN_HPP



following code invoke above class




#pragma once

#ifndef APPLICATION_HPP
#define APPLICATION_HPP
#include<vulkan/vulkan.h>
#include <iostream>
#include <stdexcept>
#include <cstdlib>
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>


#include "Item.hpp"
#include"Window.hpp"
#include "Instance_Vulkan.hpp"

using namespace std;

namespace LB
{
class Application
{
public:
bool shouldClose = false;
virtual void mainLoop()
{
}
void init()
{
glfwInit();
glfwWindowHint(GLFW_CLIENT_API,GLFW_NO_API);
glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
initVulkan();
}
void initVulkan()
{
// set the application info
VkApplicationInfo appInfo = {};
appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
appInfo.pApplicationName = "Hellp Triangle";
appInfo.applicationVersion = VK_MAKE_VERSION(1, 0, 0);
appInfo.pEngineName= "No Engine";
appInfo.engineVersion = VK_MAKE_VERSION(1, 0, 0);
appInfo.apiVersion = VK_API_VERSION_1_0;
appInfo.pNext = NULL;
// set papplicatoinInfo
instance.createInfo.pApplicationInfo = &appInfo;

if (instance.creat()!= VK_SUCCESS)
throw std::runtime_error("Error: fail to create vulkan instance ");



}
void cleanUp()
{
glfwTerminate();
instance.destroy();
}
int run(int argc=0,char* argv=0)
{
init();
try {
for (;!shouldClose;)
mainLoop();
}
catch (const std::exception e)
{
std::cerr << e.what() << std::endl;
return EXIT_FAILURE;
}
cleanUp();
return EXIT_SUCCESS;
}
private:
Instance_Vulkan instance;
};
}
#endif



there are main function




#include "pch.h"
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#include "Application.hpp"
#include <iostream>
#include <cstdlib>

using namespace LB;
using namespace std;

int main()
{
Application app;
return app.run();

}



when i run the code,it crash
'result image'

My Environment:





  • Win10 debug 64bit

  • vs2017

  • Gtx 940m driver: 416.94

  • i install lunarg sdk 1.1.85.0 , run the cube.exe and also compile the demo successfully







vulkan






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 25 '18 at 12:23









MiAoMiAo

41




41













  • check your ProjectProps->Debugging->Environment. Actually, just print your environment variables in your main to check there is nothing suspicious (especially variables starting with VK_*).

    – krOoze
    Nov 25 '18 at 15:46













  • Sorry to response you so lately.

    – MiAo
    Nov 26 '18 at 8:16











  • i'm not familiar to VS . i don't know how to do . i find the environment variables . (i regarded it as the path of dll , am i right ? ) What i fill into it is that PATH=%PATH%;D:VULKAN1.1.85.0Bin so i think it not possible to print string like VK_*....etc

    – MiAo
    Nov 26 '18 at 8:24











  • OK! i find the point !

    – MiAo
    Nov 26 '18 at 9:58











  • i find vk_layer* lib together with vulkan-1.lib , i think i should link it too . But when i compare my project and the template of Demo , I find the template only link the vulkan-1.lib . Then i revive your answer . i get it . It 's my stupid . Thank you so much . :)

    – MiAo
    Nov 26 '18 at 10:05



















  • check your ProjectProps->Debugging->Environment. Actually, just print your environment variables in your main to check there is nothing suspicious (especially variables starting with VK_*).

    – krOoze
    Nov 25 '18 at 15:46













  • Sorry to response you so lately.

    – MiAo
    Nov 26 '18 at 8:16











  • i'm not familiar to VS . i don't know how to do . i find the environment variables . (i regarded it as the path of dll , am i right ? ) What i fill into it is that PATH=%PATH%;D:VULKAN1.1.85.0Bin so i think it not possible to print string like VK_*....etc

    – MiAo
    Nov 26 '18 at 8:24











  • OK! i find the point !

    – MiAo
    Nov 26 '18 at 9:58











  • i find vk_layer* lib together with vulkan-1.lib , i think i should link it too . But when i compare my project and the template of Demo , I find the template only link the vulkan-1.lib . Then i revive your answer . i get it . It 's my stupid . Thank you so much . :)

    – MiAo
    Nov 26 '18 at 10:05

















check your ProjectProps->Debugging->Environment. Actually, just print your environment variables in your main to check there is nothing suspicious (especially variables starting with VK_*).

– krOoze
Nov 25 '18 at 15:46







check your ProjectProps->Debugging->Environment. Actually, just print your environment variables in your main to check there is nothing suspicious (especially variables starting with VK_*).

– krOoze
Nov 25 '18 at 15:46















Sorry to response you so lately.

– MiAo
Nov 26 '18 at 8:16





Sorry to response you so lately.

– MiAo
Nov 26 '18 at 8:16













i'm not familiar to VS . i don't know how to do . i find the environment variables . (i regarded it as the path of dll , am i right ? ) What i fill into it is that PATH=%PATH%;D:VULKAN1.1.85.0Bin so i think it not possible to print string like VK_*....etc

– MiAo
Nov 26 '18 at 8:24





i'm not familiar to VS . i don't know how to do . i find the environment variables . (i regarded it as the path of dll , am i right ? ) What i fill into it is that PATH=%PATH%;D:VULKAN1.1.85.0Bin so i think it not possible to print string like VK_*....etc

– MiAo
Nov 26 '18 at 8:24













OK! i find the point !

– MiAo
Nov 26 '18 at 9:58





OK! i find the point !

– MiAo
Nov 26 '18 at 9:58













i find vk_layer* lib together with vulkan-1.lib , i think i should link it too . But when i compare my project and the template of Demo , I find the template only link the vulkan-1.lib . Then i revive your answer . i get it . It 's my stupid . Thank you so much . :)

– MiAo
Nov 26 '18 at 10:05





i find vk_layer* lib together with vulkan-1.lib , i think i should link it too . But when i compare my project and the template of Demo , I find the template only link the vulkan-1.lib . Then i revive your answer . i get it . It 's my stupid . Thank you so much . :)

– MiAo
Nov 26 '18 at 10:05












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53467392%2fvkcreateinstance-access-violation-at-vklayer-device-simulation-dll%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53467392%2fvkcreateinstance-access-violation-at-vklayer-device-simulation-dll%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Costa Masnaga

Fotorealismo

Sidney Franklin