Hi,
There is an option in Visual Studio "/GS" that if I disable it then I get a "0xC0000005" error.
The problem is that I there is no crash if I don't call any resolved fucntion.
m_qLibrary.setFileName("pci-dask");
if (m_qLibrary.load())
{
//Pointer to functions
Register_Card = (pf_Register_Card) m_qLibrary.resolve("Register_Card");
Release_Card = (pf_Release_Card) m_qLibrary.resolve("Release_Card");
DI_ReadPort = (pf_DI_ReadPort) m_qLibrary.resolve("DI_ReadPort");
if (Register_Card)
m_card = Register_Card(PCI_7230,card_number);
QObject::connect(this,
SIGNAL(mySignal
()),
this,
SLOT(mySlot
()));
//This produces the error
if (DI_ReadPort)
I16 error = DI_ReadPort(m_card,0,&m_uInputs);
}
m_qLibrary.setFileName("pci-dask");
if (m_qLibrary.load())
{
//Pointer to functions
Register_Card = (pf_Register_Card) m_qLibrary.resolve("Register_Card");
Release_Card = (pf_Release_Card) m_qLibrary.resolve("Release_Card");
DI_ReadPort = (pf_DI_ReadPort) m_qLibrary.resolve("DI_ReadPort");
if (Register_Card)
m_card = Register_Card(PCI_7230,card_number);
QObject::connect(this,SIGNAL(mySignal()),this,SLOT(mySlot())); //This produces the error
if (DI_ReadPort)
I16 error = DI_ReadPort(m_card,0,&m_uInputs);
}
To copy to clipboard, switch view to plain text mode
This produces the error: Excepción no controlada en 0x671d4836 (QtCored4.dll) en ADLINK_IO.exe: 0xC0000005: Infracción de acceso al leer la ubicación 0x6f6c7331.
That will be like "Exception not controlled in 0x671d4836 (QtCored4.dll) in ADLINK_IO.exe: 0xC0000005: error on reading 0x6f6c7331."
Thanks,
Bookmarks