Compiled Hello Client on Win7 can't load BLE DLL

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I'm having trouble running the hello_sensor app distributed with the 2.2.1 SDK.  It compiles ok but I get an error when trying to run it:

Screenshot_050515_103717_AM.jpg

It is coming from the LoadLibrary() call:

Screenshot_050515_103141_AM.jpg

My environment:

Plugable dongle with drivers installed (and working).

BTW SDK 6.5.1.5800 SDK installed

Windows 7 Pro 64

Visual Studio 2013

File exists in the path that's being searched:

Screenshot_050515_103420_AM.jpg

My three guesses as to what's wrong:

  1. BTW version is incompatible with code shipped in SDK
  2. Some sort of DLL registration step is missing
  3. The DLL is not packaged correctly or is not 64bit, etc.

Ideas?

0 Likes
1 Solution
Anonymous
Not applicable

Lol.  One of these days I'm going to ask a question that I don't end up answering 10 minutes later.

Solution:  The project needs to be set to 64bit.

Screenshot_050515_105709_AM.jpg

View solution in original post

2 Replies
Anonymous
Not applicable

Lol.  One of these days I'm going to ask a question that I don't end up answering 10 minutes later.

Solution:  The project needs to be set to 64bit.

Screenshot_050515_105709_AM.jpg

Thanks Jose

0 Likes